package com.woniuxy.platform.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 商家信息表
 * </p>
 *
 * @author 杨青云
 * @since 2020-09-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("BUSINESS_INFO")
@ApiModel(value="BusinessInfo对象", description="商家信息表")
public class BusinessInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "商家编号")
    @TableId("BUSINESS_ID")
    private Integer businessId;

    @ApiModelProperty(value = "商家序号")
    @TableField("BUSINESS_NUMBER")
    private String businessNumber;

    @ApiModelProperty(value = "商家类型编号")
    @TableField("BUSINESS_TYPE_ID")
    private Integer businessTypeId;

    @ApiModelProperty(value = "商家负责人")
    @TableField("USER_ID")
    private String userId;

    @ApiModelProperty(value = "店铺地址")
    @TableField("ADDRESS")
    private String address;

    @ApiModelProperty(value = "资质状况")
    @TableField("QUA_STATUS")
    private Integer quaStatus;

    @ApiModelProperty(value = "商家图标")
    @TableField("MERCHANT_ICON")
    private String merchantIcon;

    @ApiModelProperty(value = "营业执照")
    @TableField("QUA_IMG")
    private String quaImg;

    @ApiModelProperty(value = "商家电话")
    @TableField("BUSINESS_PHONE")
    private String businessPhone;

    @ApiModelProperty(value = "开始营业时间")
    @TableField("START_TIME")
    private LocalDateTime startTime;

    @ApiModelProperty(value = "结束营业时间")
    @TableField("END_TIME")
    private LocalDateTime endTime;

    @ApiModelProperty(value = "店铺营业状态")
    @TableField("SHOP_STATUS")
    private Integer shopStatus;

    @ApiModelProperty(value = "是否自动接单")
    @TableField("ACCEPT_ORDER")
    private Integer acceptOrder;

    @ApiModelProperty(value = "商家信息插入时间")
    @TableField("CREATE_TIME")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "商家信息修改时间")
    @TableField("UPDATE_TIME")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "软删除")
    @TableField("FLAG")
    private Integer flag;

    @ApiModelProperty(value = "0表示创建，1表示进入审批表")
    @TableField("BUSINESS_STATE")
    private Integer businessState;


}
